﻿<html>
<head>
<title>房贷计算器_购房能力评估</title>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=JavaScript src="jquery-1.3.1.min.js"></SCRIPT>
<SCRIPT language=JavaScript src="right.js"></SCRIPT>
<script>
$(function(){
	$("#table1 tr:gt(12)").hide();
	$("#show_btn1").toggle(
		function () {
			$(this).addClass("show_on");
			$(this).html("隐藏部分年份");
			$("#table1 tr:gt(12)").fadeIn(300);
		},
		function () {
			$(this).removeClass("show_on");
			$(this).html("显示所有年份");
			$("#table1 tr:gt(12)").fadeOut(500);
		}
	); 
	$("#table2 tr:gt(12)").hide();
	$("#show_btn2").toggle(
		function () {
			$(this).addClass("show_on");
			$(this).html("隐藏部分年份");
			$("#table2 tr:gt(12)").fadeIn(300);
		},
		function () {
			$(this).removeClass("show_on");
			$(this).html("显示所有年份");
			$("#table2 tr:gt(12)").fadeOut(500);
		}
	); 
	
 }); 
//公积金贷款计算器计算结果
$(function(){
	$("#dejh").hide();
	$("#debj").hide();
	$("#zyhk").show();
	$("#hkfs").change(function(){
		var selected= this.value;
		$("#aa").html(selected);
			if( selected == 1){
				$("#dejh").fadeIn(300);
				$("#debj").hide();
				$("#zyhk").hide();
			}
			else if( selected==2){
				$("#dejh").hide();
				$("#debj").fadeIn(300);
				$("#zyhk").hide();
			}
			else if( selected==3){
				$("#dejh").hide();
				$("#debj").hide();
				$("#zyhk").fadeIn(300);
			}
	});
});

rhb=new Array(440.104,301.103,231.7,190.136,163.753,144.08,129.379,117.991,108.923,101.542,95.425,90.282,85.902,82.133,78.861,75.997,73.473,71.236,69.241,67.455,65.848,64.397,63.082,61.887,60.798,59.802,58.890,58.052,57.282)
yhz=new Array(1.978,2.9344,3.8699,4.7847,5.6794,6.5544,7.4102,8.2472,9.0657,9.8662,10.6491,11.4148,12.1636,12.8959,13.6121,14.3126,14.9977,15.6677,16.3229,16.9637,17.5904,18.2034,18.8028,19.389,19.9624,20.5231,21.0715,21.6078,22.1323)
function chk01()
{
if (parseFloat(document.myform.rg01.value)<4.7)
	alert("--您确定是"+parseFloat(document.myform.rg01.value)+"万元?--"+"\n\n"+"那么您目前尚不具备购房能力，"+"\n\n"+"建议积攒积蓄或能筹集更多的资金。")
if (parseFloat(document.myform.rg01.value)>10000)
	alert("您确定拥有超过一亿元的购房资金？");

}
function chk02()
{
if (parseFloat(document.myform.rg03.value)>parseFloat(document.myform.rg02.value)*0.7)
	{
	alert("您预计家庭每月可用于购房支出已超过家庭月收入的70%，"+"\n\n"+"是否确定不会影响您的正常生活消费？"+"\n\n"+"建议在40%（"+parseFloat(document.myform.rg02.value)*0.4+"元）左右")
	}
}
function chk03()
{
if (document.myform.rg01.value=="")
	alert("请填写现可用于购房的资金")
else
	if (document.myform.rg02.value=="")
			alert("请填写现家庭月收入")
	else	
		if (document.myform.rg03.value=="")
			alert("请填写预计家庭每月可用于购房支出")
	else	
		if (document.myform.rg06.value=="")
			alert("请填写您计划购买房屋的面积")
	else
		chk04()

}
function chk04()
{
js00=parseFloat(document.myform.rg01.value)*10000
js01=parseFloat(document.myform.rg03.value)
js02=Math.round(js01/rhb[parseInt(document.myform.rg04.options[document.myform.rg04.selectedIndex].value)/12-2])*10000
js03=parseFloat(document.myform.rg06.value)

if (js02>js00*3.2)
	js02=js00*3.2
document.myform.rg07.value=Math.round((js02+0.8*js00)*100)/100
document.myform.rg08.value=Math.round(parseFloat(document.myform.rg07.value)/js03*100)/100
if (js03<120)
	document.myform.rg10.value=Math.round(parseFloat(document.myform.rg07.value)*2)/100
else
	document.myform.rg10.value=Math.round((parseFloat(document.myform.rg07.value)-parseFloat(document.myform.rg08.value)*120)*4+parseFloat(document.myform.rg08.value)*120*2)/100
document.myform.rg11.value=Math.round(parseFloat(document.myform.rg07.value)*2)/100
document.myform.rg12.value=Math.round(parseFloat(document.myform.rg07.value)*20)/100
document.myform.rg13.value=Math.round(Math.round(parseFloat(document.myform.rg07.value)*0.05)/100*yhz[parseInt(document.myform.rg04.options[document.myform.rg04.selectedIndex].value)/12-2]*100)/100
document.myform.rg14.value=Math.round(parseFloat(document.myform.rg07.value)*0.3)/100
document.myform.rg15.value="200~500"
}
</script>

<style type="text/css">
body{background-color:#fff;margin:5px;}
table,td,img,form,ul{margin:0;padding:0;}
td,p,li,select,input,textarea{font-size:12px;}
.f14{font-size:14px;}
.f16{font-size:16px;}
.fData{color:#666;font-size:12px;}
.fDataS{font-size:10px;}
.lh15{line-height:15px;}
.lh17{line-height:17px;}
.lh19{line-height:19px;}
.lh20{line-height:20px;}
.lh21{line-height:21px;}
.lh22{line-height:22px;}
.lh23{line-height:23px;}
.lh24{line-height:24px;}
.lh25{line-height:25px;}
.lh26{line-height:26px;}
.b1{border:1px solid #000000;}
.h3{font-size:7px;color:#7AA8FF}
a.agu:link,a.agu:visited{text-decoration:none;color:#07015B;}
a.agu:active,a.agu:hover{text-decoration:none;color:#f00}
.lp{letter-spacing:4px;}
.iasklj,a.iasklj:link,a.iasklj:visited{text-decoration:none;color:#f00;}
a.iasklj:active,a.iasklj:hover{text-decoration:none;color:#f00;}
.t2{height:17px;}
.imgPhoto img{border:1px #000 solid;}
.imgPhoto2{border:1px #000 solid;}
.imgPhoto3{border:1px #ccc solid;}
.linkWhite,.linkWhite a:link,.linkWhite a:visited{text-decoration:none;color:#fff;}
.linkWhite a:active,.linkWhite a:hover{text-decoration:underline;color:#fff;}
.linkBlack,.linkBlack a:link,.linkBlack a:visited{text-decoration:none;color:#333;}
.linkBlack a:active,.linkBlack a:hover{text-decoration:underline;color:#333;}
.linkBlack2,.linkBlack2 a:link,.linkBlack2 a:visited{text-decoration:none;color:#000;}
.linkBlack2 a:active,.linkBlack2 a:hover{text-decoration:underline;color:#000;}
.linkBlack3 a:link,.linkBlack3 a:visited{text-decoration:underline;color:#333;}
.linkBlack3 a:active,.linkBlack3 a:hover{text-decoration:underline;color:#f00;}
.linkBlack4 a:link,.linkBlack4 a:visited{text-decoration:underline;color:#000;}
.linkBlack4 a:active,.linkBlack4 a:hover{text-decoration:underline;color:#f00;}
.linkBlack5,.linkBlack5 a:link,.linkBlack5 a:visited{text-decoration:none;color:#000;}
.linkBlack5 a:active,.linkBlack5 a:hover{text-decoration:none;color:#f00;}
.linkRed a:link,.linkRed a:visited{text-decoration:underline;color:#c30;}
.linkRed a:active,.linkRed a:hover{text-decoration:underline;color:#f00;}
.linkRed2,.linkRed2 a:link,.linkRed2 a:visited{text-decoration:none;color:#c30;}
.linkRed2 a:active,.linkRed2 a:hover{text-decoration:none;color:#f00;}
.linkRed3,.linkRed3 a:link,.linkRed3 a:visited{text-decoration:none;color:#a20000;}
.linkRed3 a:active,.linkRed3 a:hover{text-decoration:underline;color:#a20000;}
.linkBlue{text-decoration:none;color:#009;}
.linkBlue a:link,.linkBlue a:visited{text-decoration:underline;color:#009;}
.linkBlue a:active,.linkBlue a:hover{text-decoration:underline;color:#f00;}
.linkGrey{text-decoration:none;color:#666;}
.linkGrey a:link,.linkGrey a:visited{text-decoration:underline;color:#666;}
.linkGrey a:active,.linkGrey a:hover{text-decoration:underline;color:#f00;}
.linkYellow,.linkYellow a:link,.linkYellow a:visited{text-decoration:none;color:#ad510f;}
.linkYellow a:active,.linkYellow a:hover{text-decoration:none;color:#f00;}

.linkBlogSerach01{color:#423E2A;}
.linkBlogSerach01 a:link,.linkBlogSerach01 a:visited{color:#423E2A; text-decoration:none; width:70px;}
.linkBlogSerach01 a:active,.linkBlogSerach01 a:hover{color:#f00; text-decoration:underline; width:70px;}

.linkBlogSerach{color:#423E2A;}
.linkBlogSerach a:link,.linkBlogSerach a:visited{color:#423E2A; text-decoration:none; width:55px;}
.linkBlogSerach a:active,.linkBlogSerach a:hover{color:#f00; text-decoration:underline; width:55px;}
.link01{font-size:14px;}
.link01 a:link{text-decoration:none;color:#000000;}
.link01 a:visited{text-decoration:none;color:#000000;}
.link01 a:active{text-decoration:underline;color:#000000;}
.link01 a:hover {text-decoration:underline;color:#9A0000;}

.imgRddcs img{border:1px #ccc solid;}
.tblRddcs{border:1px #ccc solid; background-color:#fff; margin-bottom:4px; width:122px; line-height:20px; text-align:center;}
.tblRddcs2{border:1px #ccc solid; background-color:#fff; margin-top:4px; width:122px; line-height:20px; text-align:center;}

A.a04:link {text-decoration:none;color:#000000;}
A.a04:visited {text-decoration:none;color:#646464;}
A.a04:active,A.a04:hover {text-decoration:underline;color:#ff0000;}

.menuOn{cursor:default;width:120px;font-size:12px;background-image: url(on_1.gif);background-repeat: no-repeat;padding-left:0px;color:#BA0300;line-height:22px; font-weight:bold}
.menuOff{cursor:pointer;width:120px;font-size:12px;background-image: url(off_1.gif);background-repeat: no-repeat;color:#666666;line-height:22px; font-weight:bold}

.menuOn2{cursor:default;width:120px;font-size:12px;background-image: url(on_1.gif);background-repeat: no-repeat;padding-left:0px;color:#BA0300;line-height:22px; font-weight:bold}
.menuOff2{cursor:pointer;width:120px;;font-size:12px;background-image: url(off_1.gif);background-repeat: no-repeat;color:#666666;line-height:22px; font-weight:bold}
.box {border:1px solid #F8E1CD;
}

.STYLE1 {color: #E65C00}
.btn{width:94px;height:20px;background:url("btn_bg.gif") no-repeat;cursor:pointer;font-size:12px;margin-right:10px;border:0}
.mt10{margin-top:10px}
.bgFDFCF7 {background:#FDFCF7}
.dot {background:url("dot.gif") top repeat-x}
</style>

<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
</head>
<body topmargin=5 marginheight=5 onLoad="MM_preloadImages('index2_r1_c1.jpg','index2_r4_c1.jpg','index2_r5_c1.jpg','index2_r6_c1.jpg','index2_r8_c1.jpg','index2_r9_c1.jpg','index2_r4_c1.jpg','index2_r5_c1.jpg','index2_r8_c1.jpg','index2_r9_c1.jpg')" >

<div align="center">
 

  <table width="950" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="631" valign="top" background="index_r12_c1.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>

          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><a href="tool_GFNLPG.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image32','','index2_r1_c1.jpg',1)"><img src="index_r1_c1.jpg" name="Image32" width="237" height="69" border="0"></a></td>
            </tr>
            <tr>
              <td><a href="tool_DEBXHKF.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image27','','index2_r4_c1.jpg',1)"><img src="index_r4_c1.jpg" name="Image27" width="237" height="48" border="0"></a></td>
            </tr>
            <tr>
              <td><a href="tool_DEBJHKF.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image28','','index2_r5_c1.jpg',1)"><img src="index_r5_c1.jpg" name="Image28" width="237" height="43" border="0"></a></td>
            </tr>
            <tr>
              <td><a href="tool_TQHDJSQ.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image29','','index2_r6_c1.jpg',1)"><img src="index_r6_c1.jpg" name="Image29" width="237" height="47" border="0"></a></td>
            </tr>
            <tr>
              <td><a href="tool_SFJSQ.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image30','','index2_r8_c1.jpg',1)"><img src="index_r8_c1.jpg" name="Image30" width="237" height="45" border="0"></a></td>
            </tr>
            <tr>
              <td><a href="tool_GRZFGJJDK.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image31','','index2_r9_c1.jpg',1)"><img src="index_r9_c1.jpg" name="Image31" width="237" height="76" border="0"></a></td>
            </tr>
          </table></td>

          <td width="394" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <form name=myform><tr>
              <td><img src="index_r1_c2.jpg" width="394" height="35"></td>
            </tr>
            <tr>
              <td><img src="title1.gif" width="390" height="50"></td>
            </tr>
            <tr>
              <td><table width="380" border=0 align="center" cellpadding=0 cellspacing=0>
	<tr valign=top><td align=center>
		<table width=380 border=0 cellpadding=0 cellspacing=0>
		<tr valign=bottom><td width=365 valign="top">
			<table width=380 border=0 cellpadding=5 cellspacing=1 bgcolor="#F8E1CD">

			<tr>
			  <td height=26 bgcolor="#FFFBF7">　　现可用于购房的资金：　　　　　
			    <input size=10 name=rg01 onblur=chk01()>  万元</td></tr>
			<tr>
			  <td height=26 bgcolor="#FFFBF7">　　（包括现金、存款、有价证券和可以筹措到的资金总和）</td>
			</tr>
			<tr>
			  <td height=26 bgcolor="#FFFBF7">　　现家庭月收入：　　　　　　　　
			    <input size=10 name=rg02> 元</td></tr>
			<tr>
			  <td height=26 bgcolor="#FFFBF7">　　预计家庭每月可用于购房支出：　
			    <input size=10 name=rg03 onblur=chk02()> 元/月</td></tr>
			<tr>
			  <td height=26 bgcolor="#FFFBF7">　　您期望偿还贷款的年限：　　　　
			    <select size=1 name=rg04><option value=24>2年(24期)</option><option value=36>3年(36期)</option><option value=48>4年(48期)</option><option value=60>5年(60期)</option><option value=72>6年(72期)</option><option value=84>7年(84期)</option><option value=96>8年(96期)</option><option value=108>9年(108期)</option><option value=120>10年(120期)</option><option value=180>15年(180期)</option><option value=240>20年(240期)</option><option value=300>25年(300期)</option><option value=360>30年(360期)</option></select> 年</td></tr>
			<tr>
			  <td height=26 bgcolor="#FFFBF7">　　您计划购买房屋的面积：　　　　
			    <input size=10 name=rg06> 平方米</td></tr>
			<tr><td height="26" bgcolor="#FFFBF7">
              <div align="center">
                  <input name="button" type=button onclick=chk03() value="开始计算">
                　
                <input name="reset" type=reset value="重新计算">
              </div></td>
			</tr>
			</table></td></tr>
		</table>

		<table width="100%" height="8"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td></td>
          </tr>
        </table>
        <img src="gieguo.gif" width="390" height="50">

		<table width=380 border=0 cellpadding=5 cellspacing=1 bgcolor="#CCCCCC">
		<tr>
		  <td height=26 bgcolor="#f8f8f8"><div align="left">　　　　　　您可购买的房屋总价为 
		          <input size=8 name=rg07>		    
		     元</div></td></tr>
		<tr>
		  <td height=26 bgcolor="#f8f8f8"><div align="left">　　　　　　您可购买的房屋单价为
                  <input size=8 name=rg08>
    元/平方米
                      <input type="hidden" size=8 name=rg10>
                  <input type="hidden" size=8 name=rg11>
                  <input type="hidden" size=8 name=rg12>
                  <input type="hidden" size=8 name=rg13>
                   <input type="hidden" size=8 name=rg14>
                   <input type="hidden" size=8 name=rg15>
    </div></td>
		  </tr>
		<!--tr>
		  <td height=26 bgcolor="#f8f8f8"><font color=#0000ff><b>　</b>购房相关税费</font></td>
		</tr>
		<tr>
		  <td height=26 bgcolor="#f8f8f8"><div align="center">契　　　　税　
		        <input size=8 name=rg10> 
		        元<br>
		        <span class="style2">注：房屋的实际成交价格高于同级别土地上住房平均交易价格的1.2倍以上，契税按3%收取</span></div></td></tr>
		<tr><td height=26 bgcolor="#f8f8f8"><div align="center">公共维修基金　 
		        <input size=8 name=rg11> 
		        元</div></td></tr>
		<tr>
		  <td height=26 bgcolor="#f8f8f8"><font color=#0000ff><b>　</b>银行贷款需支付的费用</font></td>
		</tr>
		<tr><td height=26 bgcolor="#f8f8f8"><div align="center">首付款　
		        <input size=8 name=rg12>		  
		     元　　　　保　险　费　
		     <input size=8 name=rg13> 
		     元</div></td></tr>
		<tr><td height=26 bgcolor="#f8f8f8"><div align="center">律师费　
		        <input size=8 name=rg14>		   
		        元　　　　抵押登记费　
		        <input size=8 name=rg15> 
		        元</div></td></tr-->
		</table></td>
	</tr>
	</table></td>
            </tr>
            <tr>
              <td height="50">&nbsp;</td>
            </tr></form>
          </table></td>
        </tr>
      </table></td>
      <td width="83" valign="top" background="index_r7_c3.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="index_r1_c3.jpg" width="83" height="191"></td>
        </tr>
        <tr>
          <td height="300">&nbsp;</td>
        </tr>
        <tr>
          <td><img src="index_r10_c3.jpg" width="83" height="118"></td>
        </tr>
      </table></td>
      <td width="236" valign="top" background="index_r2_c4.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="index_r1_c4.jpg" width="236" height="35"></td>
        </tr>
        <tr>
          <td>
          <table id="table1" width="88%" border="1" bordercolor="#cccccc" cellpadding="1" cellspacing="3" style="border-collapse:collapse">
          <tr align="center" BGCOLOR="#FFFBEC">
          <td height="24" colspan="3" bgcolor="#FFFFFF"><b ><font COLOR="#ff9900">公积金</font></b></td>
          </tr>
          <tr BGCOLOR="#EEEEEE">
          <td width="51%" bgcolor="#dddddd">年限</td>
          <td width="23%" bgcolor="#dddddd">1-5年</td>
          <td width="26%" bgcolor="#dddddd">5-30年</td>
            </tr>
            <script>up();</script>
            </table>
            <a href="#" class="show_btn" id="show_btn1">显示所有年份</a>
            <table id="table2" width="88%" border="1" bordercolor="#cccccc" cellpadding="1" cellspacing="3" style="border-collapse:collapse">
            <tr align="center" BGCOLOR="#FFFBEC">
            <td height="24" colspan="3" bgcolor="#ffffff"><b><font COLOR="#ff9900">商业性</font></b></td>
            </tr>
            <tr><td bgcolor="dddddd">年限</td>
            <td bgcolor="dddddd">1-5年</td>
            <td bgcolor="dddddd">5-30年</td>
            </tr>
			<script>down();</script>
          </table>
          <a href="#" class="show_btn" id="show_btn2">显示所有年份</a></td>
        </tr>
      </table>          
          </td>
        </tr>
      </table></td>
    </tr>
  </table>
  <table width="950" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><img src="index_r13_c1.jpg" width="950" height="28"></td>
    </tr>
  </table>
</div>

</body>
</html>

